@color: #00bc9c;
@hover-color: #0dc7a7;
.course{
    padding: 0 0 80px 0;
    background-color: #ffffff;
    .nav{
        max-width: 1200px;
        padding: 20px 0;
        margin: 0 auto;
        overflow: hidden;
        .title{
            float: left;
            font-size: 30px;
            color: @color;
        }
        ul{
            float: left;
            height: 45px;
            display: flex;
            align-items: center;
            margin: 0 0 0 30px;
            li{
                float: left;
                height: 28px;
                line-height: 28px;
                padding: 0 20px;
                font-size: 16px;
                color: #000000;
                cursor: pointer;
                &.active,&:hover{
                    color: #ffffff;
                    background-color: @color;
                }
            }
        }
    }
    .banner{
        width: 100%;
        height: 418px;
        text-align: center;
        background-color: #000000;
    }
    .kcts{
        padding: 40px 0;
        h1{
            line-height: 40px;
            color: @color;
            font-size: 16px;
            font-weight: bold;
            border-bottom: 2px solid @color;
            padding: 0 20px;
        }
        img{
            margin: 20px 0;
        }
    }
    .course-list{
        .type{            
            ul{
                border-bottom: 2px solid @color;
                overflow: hidden;
                li{
                    font-size: 16px;
                    color: #525252;
                    padding: 0 20px;
                    line-height: 40px;
                    float: left;
                    cursor: pointer;
                    font-weight: bold;
                    &.active{
                        color: @color;
                    }
                }
            }
        }
        .list{
            background-color: #f3f7fa;
            ul{
                width: 1240px;
                overflow: hidden;
                padding: 30px 0;
                li{
                    width: 278px;
                    border-radius: 3px;
                    background-color: #ffffff;
                    float: left;
                    margin: 0 30px 20px 0;
                    &:hover{
                        box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
                        -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
                    }
                    img{
                        width: 100%;
                        height: 179px;
                        border-radius: 3px 3px 0 0;
                    }
                    .info{
                        padding: 10px;
                        overflow: hidden;
                        h1{
                            font-size: 14px;
                            color: #000000;
                            position: relative;
                            span{
                                display: block;
                                width: 60%;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                            }
                            .rate{
                                position: absolute;
                                right: 0;
                                top: 50%;
                                margin-top: -6px;
                                em{
                                    display: block;
                                    width: 12px;
                                    height: 12px;
                                    background: url(../../../static/images/common.png) no-repeat;
                                    background-position: -777px -22px;
                                    float: left;
                                }
                            }
                        }
                        p{
                            margin: 10px 0 0;
                        }
                    }
                }
            }
        }
    }
    .user-list{
        padding: 40px 0;
        h1{
            line-height: 40px;
            color: @color;
            font-size: 16px;
            font-weight: bold;
            border-bottom: 2px solid @color;
            padding: 0 20px;
            a{
                color: @color;
                float: right;
                font-size: 12px;
                &:hover{
                    color: @hover-color;
                }
            }
        }    
        ul{
            width: 1240px;
            margin: 40px 0 0;
            overflow: hidden;
            li{
                width: 160px;
                padding: 20px 15px;
                overflow: hidden;
                text-align: center;
                border: 1px solid #dcdcdc;
                float: left;
                margin: 0 13px 0 0;
                img{
                    width: 81px;
                    height: 81px;
                    border-radius: 50%;
                }
                h1{
                    font-size: 14px;
                    color: #000000;
                    border: none;
                }
                p{
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
            }
        }   
    }
    .center{
        max-width: 1200px;
        margin: 0 auto;
        overflow: hidden;        
    }
}

.user{
    background-color: #ffffff;
    .banner{
        width: 100%;  
        position: relative;  
        overflow: hidden;  
        height: 226px; 
        line-height: 226px;
        background: url(../../../static/images/banner2.jpg) no-repeat;
        background-size: cover;
        -webkit-background-size: cover;
        -o-background-size: cover;
        background-position: center 0;       
    }
    .user-info{
        padding: 20px 0;
        h1{
            font-size: 16px;
            color: @color;
            font-weight: bold;
            padding: 0 300px 0 0;
        }
        p{
            line-height: 2em;
            margin: 20px 0 0;
            font-size: 12px;
            color: #000000;
            padding: 0 300px 0 0;
            text-align: justify;
        }
        a{
            display: block;
            position: absolute;
            right: 0;
            top: 50%;
            margin-top: -23px;
            width: 185px;
            height: 46px;
            line-height: 46px;
            text-align: center;
            font-size: 16px;
            color: #ffffff;
            background-color: @color;
            &:hover{
                background-color: @hover-color;
            }
        }
    }
    .list{
        padding: 40px 0;
        overflow: hidden;
        .tab{
            padding: 0 100px 0 0;
            float: left;
            ul{
                li{
                    font-size: 14px;
                    color: #93999f;
                    width: 183px;
                    height: 42px;
                    line-height: 42px;
                    text-align: center;
                    margin: 0 0 20px 0;
                    display: flex;
                    align-items: center;
                    cursor: pointer;
                    i{
                        display: block;
                        background: url(../../../static/images/common.png) no-repeat;
                        float: left;
                        margin: 0 20px;
                        &.zzkc{
                            width: 15px;
                            height: 15px;
                            background-position: -659px -13px;
                        }
                        &.dykc{
                            width: 13px;
                            height: 14px;
                            background-position: -659px -36px;
                        }
                    }
                    &:hover,&.active{
                        background: url(../../../static/images/common.png) no-repeat;
                        background-position: -449px -240px;
                        color: #ffffff;
                        i{
                            display: block;
                            background: url(../../../static/images/common.png) no-repeat;
                            margin: 0 20px;
                            &.zzkc{
                                width: 15px;
                                height: 15px;
                                background-position: -683px -13px;
                            }
                            &.dykc{
                                width: 13px;
                                height: 14px;
                                background-position: -682px -36px;
                            }
                        }
                    }
                }
            }
        }
        .right{
            position: relative;
            margin: 0 0 0 300px;
            ul{
                width: 1000px;
                overflow: hidden;
                li{
                    width: 278px;
                    border-radius: 3px;
                    background-color: #ffffff;
                    float: left;
                    margin: 0 30px 20px 0;
                    &:hover{
                        box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
                        -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
                    }
                    img{
                        width: 100%;
                        height: 179px;
                        border-radius: 3px 3px 0 0;
                    }
                    .info{
                        padding: 10px;
                        overflow: hidden;
                        h1{
                            font-size: 14px;
                            color: #000000;
                            position: relative;
                            .star{
                                position: absolute;
                                right: 0;
                                top: 50%;
                                margin-top: -6px;
                                em{
                                    display: block;
                                    width: 12px;
                                    height: 12px;
                                    background: url(../../../static/images/common.png) no-repeat;
                                    background-position: -777px -22px;
                                    float: left;
                                }
                            }
                        }
                        p{
                            margin: 10px 0 0;
                        }
                    }
                }
            }
        }
    }
    .center{
        max-width: 1200px;
        overflow: hidden;
        margin: 0 auto;
        position: relative;
    }
    .bg{
        background-color: #f4f7f9;
    }        
}

.detail{
    padding: 0 0 80px 0;
    h1{
        color: #000000;
        font-size: 24px;
        font-weight: bold;
        padding: 20px 0;
    }
    .center{
        max-width: 1200px;
        overflow: hidden;
        margin: 0 auto;
        position: relative;
    }
}